package com.gxa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.entity.Sys_Menu;
import com.gxa.entity.Sys_Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleMapper extends BaseMapper<Sys_Role> {
    List<Sys_Role> findSysRoleByUserId(Long user_id);
    List<Sys_Menu> findMenuListByRoleId(@Param("role_ids") List<Integer> role_ids);
}
